package com.platform.modules.cpt.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;


@Data
@TableName("CPT_ACCEPTANCE_SUPERVISE")
public class CptAcceptanceSuperviseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String id;
    
    @ApiModelProperty(value = "竣工验收监督申请ID")
    private String cptId;

    @ApiModelProperty(value = "监督日期")
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date supDate;
    
    @ApiModelProperty(value = "质量控制资料及结构安全和主要使用功能抽查报告")
    private String spotCheck;
    
    @ApiModelProperty(value = "观感质量验收")
    private String accQuality;
    
    @ApiModelProperty(value = "综合验收结论")
    private String accConclusion;
    
    @ApiModelProperty(value = "专家评价意见")
    private String expertOpinion;
    
    @ApiModelProperty(value = "验收程序")
    private String accProcedure;
    
    @ApiModelProperty(value = "验收组织形式")
    private String accModality;
    
    @ApiModelProperty(value = "执行验收标准情况")
    private String accSituation;
    
    @ApiModelProperty(value = "监督处理意见 1-未见异常 2-责令建设单位组织相关单位处理发现问题并回复 3-责令立即整改，并重新组织竣工验收 4-建议处罚")
    private String supSuggest;
    
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    
    @ApiModelProperty(value = "创建人")
    private String createUser;
    
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    
    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "单位工程名称")
    @TableField(exist = false)
    private String unitPrjName;
    @ApiModelProperty(value = "项目编号")
    @TableField(exist = false)
    private String prjCode;
    @ApiModelProperty(value = "项目名称")
    @TableField(exist = false)
    private String prjName;

    //签名1 1-未签名 2-已签名
    private String signFlag1;

    //签名2 1-未签名 2-已签名
    private String signFlag2;
}
